package com.sdleyou.treepro.common.model.dto;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data

@JsonNaming(value = PropertyNamingStrategy.SnakeCaseStrategy.class)
public class PetDTO {
    @NotEmpty(message = "宠物名不为空")
    private String petName;

    private String petDesc;

    private String petIcon;

    private List<String> petImage;

    private Integer workTime;

    private String isShow;
}
